import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:bar-chart-3',
      order: 5,
      title: '报表中心',
    },
    name: 'ReportCenter',
    path: '/report-center',
    children: [
      {
        name: 'BalanceSheet',
        path: '/balance-sheet',
        component: () =>
          import('#/views/report-center/balance-sheet/index.vue'),
        meta: {
          icon: 'lucide:file-bar-chart',
          title: '资产负债表',
        },
      },
      {
        name: 'ProfitStatement',
        path: '/profit-statement',
        component: () =>
          import('#/views/report-center/profit-statement/index.vue'),
        meta: {
          icon: 'lucide:trending-up',
          title: '利润表',
        },
      },
      {
        name: 'ProfitStatementQuarterly',
        path: '/profit-quarter',
        component: () =>
          import('#/views/report-center/profit-statement-quarterly/index.vue'),
        meta: {
          icon: 'lucide:calendar',
          title: '利润表季报',
        },
      },
      {
        name: 'ProfitStatementAnnual',
        path: '/profit-annual',
        component: () =>
          import('#/views/report-center/profit-statement-annual/index.vue'),
        meta: {
          icon: 'lucide:calendar-days',
          title: '利润表年报',
        },
      },
      {
        name: 'CashFlowStatement',
        path: '/cash-flow',
        component: () =>
          import('#/views/report-center/cash-flow-statement/index.vue'),
        meta: {
          icon: 'lucide:banknote',
          title: '现金流量表',
        },
      },
    ],
  },
];

export default routes;